<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>注册 - 渡物 Dimension</title>
  <link rel="stylesheet" href="assets/css/style.css">
</head>

<body>
  <header>
    <h1 class="function_title">注册 - 渡物 Dimension</h1>
  </header>
  <main class="register-page container">
  <form id="register-form" class="form-card" onsubmit="regist(event)">
    
    <label>
      用户名：
      <input type="text" id="username" name="username" required>
    </label>

    <label>
      邮箱：
      <input type="email" id="email" name="email" required>
    </label>

    <label>
      密码：
      <input type="password" id="password" name="password" required>
    </label>

    <label>
      确认密码：
      <input type="password" id="confirm" name="confirm" required>
    </label>

    <button type="submit" class="btn">注册</button>

  <p>已有账号？<a href="login.html">点击登录</a></p>
  </form>
  </main>
<script src="assets/js/register.js"></script>
</body>

</html>